package me.zhengjie.tool;

import java.io.Serializable;

/**
 * @description: 树形下拉实体类
 * @author: feixiang
 * @create: 2021-01-27 11:14
 */
public class SelectTreeVo implements Serializable {
    private static final long serialVersionUID = 4446854855842294793L;

    private String id;
    private String pId;
    private String name;

    public SelectTreeVo() {
    }

    public SelectTreeVo(String id, String pId, String name) {
        this.id = id;
        this.pId = pId;
        this.name = name;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getpId() {
        return pId;
    }

    public void setpId(String pId) {
        this.pId = pId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Tree [id=" + id + ", pId=" + pId + ", name=" + name + "]";
    }
}
